package com.smh.a03ConfigureFileDemo1;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class Test3 {
    public static void main(String[] args) throws IOException {

        Properties pro = new Properties();
        FileInputStream fis = new FileInputStream("day28-code\\file\\configure\\configure.properties");
        //自动读取数据并添加到集合中
        pro.load(fis);
        fis.close();
        System.out.println(pro);


    }
}
